package com.z8888q.zstopwatch.rewrite;

import com.z8888q.zstopwatch.Zcountdown;

import android.os.Handler;
import android.os.Message;

public class RewriteHandlerC extends Handler{
	private Zcountdown zcd;
	public RewriteHandlerC(Zcountdown zcd){
		this.zcd=zcd;
	}
	
	@Override public void handleMessage(Message msg){
		String s_m="",s_ms="";
		if(zcd.time_m<10)s_m="0";
		if(zcd.time_ms<10)s_ms="0";
				
		zcd.mSwitcher_m.setText(s_m+zcd.time_m+"");
		zcd.mSwitcher_ms.setText(s_ms+zcd.time_ms+"");
		
		

	}
}
